using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using Keleyi.Com.EFDAL.Models.Mapping;

namespace Keleyi.Com.EFDAL.Models
{
    public partial class cms_keleyi_comContext : DbContext
    {
        static cms_keleyi_comContext()
        {
            Database.SetInitializer<cms_keleyi_comContext>(null);
        }

        public cms_keleyi_comContext()
            : base(ADLConfig.ConnectionString)
        {
        }

        public DbSet<Keleyi.Com.Model.MessageInfo> keleyi_message { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Configurations.Add(new keleyi_messageMap());
        }
    }
}